#!/usr/bin/env python

def googl(cmdstr, cmdargs):
    open_url("http://www.google.com/search?q=%s" % (cmdstr))

def yahoo(cmdstr, cmdargs):
    open_url("http://search.yahoo.com/search?p=%s" % (cmdstr))
    

def bing(cmdstr, cmdargs):
    open_url("http://www.bing.com/search?q=%s" % (cmdstr))
    

TRIGGERS = {
            "google":googl,
            "googl":googl,
            "goog":googl,
            "yahoo":yahoo,
            "bing":bing,
            }
